package com.chixing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author smith
 * @since 2025-09-30
 */
public class Penalty implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "penalty_id", type = IdType.AUTO)
    private Long penaltyId;

    private Long orderId;

    private Double roomPriceAtBooking;

    private Long cancelId;

    private Double penaltyAmount;

    private String penaltyDesc;

    private LocalDateTime createdAt;

    private Double refundAmountToUser;

    public Long getPenaltyId() {
        return penaltyId;
    }

    public void setPenaltyId(Long penaltyId) {
        this.penaltyId = penaltyId;
    }
    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
    public Double getRoomPriceAtBooking() {
        return roomPriceAtBooking;
    }

    public void setRoomPriceAtBooking(Double roomPriceAtBooking) {
        this.roomPriceAtBooking = roomPriceAtBooking;
    }
    public Long getCancelId() {
        return cancelId;
    }

    public void setCancelId(Long cancelId) {
        this.cancelId = cancelId;
    }
    public Double getPenaltyAmount() {
        return penaltyAmount;
    }

    public void setPenaltyAmount(Double penaltyAmount) {
        this.penaltyAmount = penaltyAmount;
    }
    public String getPenaltyDesc() {
        return penaltyDesc;
    }

    public void setPenaltyDesc(String penaltyDesc) {
        this.penaltyDesc = penaltyDesc;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public Double getRefundAmountToUser() {
        return refundAmountToUser;
    }

    public void setRefundAmountToUser(Double refundAmountToUser) {
        this.refundAmountToUser = refundAmountToUser;
    }

    @Override
    public String toString() {
        return "Penalty{" +
            "penaltyId=" + penaltyId +
            ", orderId=" + orderId +
            ", roomPriceAtBooking=" + roomPriceAtBooking +
            ", cancelId=" + cancelId +
            ", penaltyAmount=" + penaltyAmount +
            ", penaltyDesc=" + penaltyDesc +
            ", createdAt=" + createdAt +
            ", refundAmountToUser=" + refundAmountToUser +
        "}";
    }
}
